* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
}

body {
    background-color: #e1e1e1;
}

/* 去除列表小黑点 */
li {
    list-style: none;
}

/* 界面宽度 */
.w {
    width: 100vw;
    max-width: 1250px;
    min-width: 500px;
    margin: 0 auto;
}

.box {
    background-color: #fafafa;
}

.main_content {
    padding: 30px 60px;
}

/* 导航栏 */
.top_nav {
    width: 100%;
    height: 80px;
    background-color: rgb(16, 122, 216);
}

.top_nav_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
}

.top_nav_content h3 {
    color: #f5f5f5;
    font-size: 30px;
}

.top_nav_content .user {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.top_nav_content #avater {
    width: 46px;
    border-radius: 50%;
}

.top_nav_content #username {
    font-size: 18px;
    color: #f5f5f5;
    margin-right: 18px;
}

/* 菜单选项 */
.menu_option {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    margin-bottom: 45px;
}

.menu_option #op_goods,
.menu_option #op_order {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    color: rgb(94, 93, 93);
    font-size: 14px;
    border-radius: 20px;
    padding: 0 25px;
    border: 1px solid #a3a3a3;
    background-color: rgb(235, 235, 235);
    cursor: pointer;
}

.menu_option #op_goods {
    color: rgb(255, 255, 255);
    background-color: rgb(22, 135, 235);
}

/* 商品列表 */
.main_content .title {
    margin-bottom: 30px;
}

#goods_list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

#goods_list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    background-color: white;
    text-align: center;
    box-shadow: 1px 1px 15px #e2e2e2;
}

#goods_list li .img {
    width: 100%;
}

#goods_list li .title {
    font-size: 15px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 15px;
}

#goods_list .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
    height: 40px;
    margin: 15px 0px;
    color: #969696;
    font-size: 15px;
    text-align: center;
    background-color: rgb(235, 235, 235);
    border-radius: 8px;
    cursor: pointer;
}

#goods_list .btn:hover {
    color: white;
    background-color: rgb(228, 133, 0)
}

.order_list {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.order_list #order_content {
    display: inline-block;
    width: 100%;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 1px 1px 15px #e2e2e2;
}

.order_list .box_btn {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 130px;
}

.order_list #submit_btn,
.order_list #output_btn,
.order_list #cancel_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 50px;
    color: white;
    font-size: 15px;
    text-align: center;
    background-color: rgb(243, 114, 8);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
}

.order_list #output_btn {
    background-color: rgb(1, 183, 89);
}

.order_list #cancel_btn {
    background-color: rgb(252, 87, 87);
}

/* 订单查询 */
#order_pager {
    display: none;
}

#order_pager #order_details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 130px;
}

#order_pager .order_item {
    width: 100%;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    font-size: 16px;
    border-radius: 8px;
    box-shadow: 1px 1px 15px #e2e2e2;
}

/* 复用 */
#goods_list li:hover,
#order_pager .order_item:hover {
    box-shadow: 8px 8px 30px #cecece;
}

.menu_option #op_goods:hover,
.menu_option #op_order:hover,
.order_list #submit_btn:hover,
.order_list #output_btn:hover,
.order_list #cancel_btn:hover {
    box-shadow: 5px 5px 20px #cecece;
}